package com.zx.git_mybatisplus_smbms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zx.git_mybatisplus_smbms.pojo.SmbmsUser;
import com.zx.git_mybatisplus_smbms.service.SmbmsUserService;
import com.zx.git_mybatisplus_smbms.mapper.SmbmsUserMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Wrapper;

/**
* @author 落叶情丶
* @description 针对表【smbms_user】的数据库操作Service实现
* @createDate 2021-12-28 23:21:46
*/
@Service
public class SmbmsUserServiceImpl extends ServiceImpl<SmbmsUserMapper, SmbmsUser>
    implements SmbmsUserService{

    @Autowired//给userMapper注入一个对象
    private SmbmsUserMapper usermapper;

    @Override
    public SmbmsUser login(String uName, String uPwd) {
        return usermapper.login(uName,uPwd );
    }


}




